export const defaultAlt = "图片预览";
export const errorMsg = {
  optionsDataNotArray: "data 属性必须是数组"
}

export const bodyInnerHTML = 
`<div class="hc-photos_shade"></div>
<div class="hc-photos_scroll">
    <div class="hc-photos_img">
        <div class="hc-photos_img-shade"></div>
        <img src="" alt="photo" />
        <div class="hc-photos_img-loading"></div>
    </div>
</div>

<div class="hc-photos_ctrl-left-x">
    <div class="hc-photos_ctrl hc-icon-resize"></div>
    <div class="hc-photos_ctrl hc-icon-enlarge"></div>
</div>
<div class="hc-photos_ctrl-right-x">
    <div class="hc-photos_ctrl hc-icon-refresh"></div>
    <div class="hc-photos_ctrl hc-icon-zoom-in"></div>
    <div class="hc-photos_ctrl hc-icon-zoom-out"></div>
    <div class="hc-photos_ctrl hc-icon-rotate-left"></div>
    <div class="hc-photos_ctrl hc-icon-rotate-right"></div>
    <div class="hc-photos_ctrl hc-icon-close"></div>
</div>

<div class="hc-photos_ctrl hc-photos_ctrl-left hc-icon-left"></div>
<div class="hc-photos_ctrl hc-photos_ctrl-right hc-icon-right"></div>
<div class="hc-photos_file_name"></div>`

export const leftClass = ".hc-icon-left"
export const rightClass = ".hc-icon-right"

/** 左上控件 */
export const resizeClass = ".hc-icon-resize"
export const enlargeClass = ".hc-icon-enlarge"

/** 右上控件 */
export const refreshClass = ".hc-icon-refresh"
export const zoomInClass = ".hc-icon-zoom-in"
export const zoomOutClass = ".hc-icon-zoom-out"
export const rotateLeftClass = ".hc-icon-rotate-left"
export const rotateRightClass = ".hc-icon-rotate-right"
export const closeClass = ".hc-icon-close"

export const bodyClass = "hc-photos_wrap";
export const photosScrollClass = ".hc-photos_scroll"
export const leftCtrlClass = ".hc-photos_ctrl-left-x"
export const rightCtrlClass = ".hc-photos_ctrl-right-x"
export const loadingClass = "hc-photos-loading"
export const imgBoxClass = ".hc-photos_img"
export const imgShadeClass = ".hc-photos_img-shade"
export const imgClass = "img"
export const nameClass = ".hc-photos_file_name"

export const hcNamespace = "__hc_photos__";